package team.seekers.hula.teamwork.team.teamUser.entity.dao;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 用户和团队联系表
 * </p>
 *
 * @author hbc
 * @since 2021-05-02
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="TeamUser对象", description="用户和团队联系表")
@TableName(value = "team_user")
public class TeamUserDO implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private String id;

    private String teamId;

    private String userId;

    private Double hulaCoin;

    private Double hulaScore;

    @TableLogic
    private Integer isDelete;

    @ApiModelProperty(value = "是否是负责人")
    private Integer isMonitor;

    @TableField(fill = FieldFill.INSERT)
    private Date gmtCreate;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date gmtModified;


}
